﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Orange.Mvc4App.Models {
    public class ContractRate {
        [Key]
        [Column("Id")]
        [Required(ErrorMessage = "*")]
        public int Id { get; set; }

        [Column("Conid")]
        [Required(ErrorMessage = "*")]
        public int Conid { get; set; }

        [Column("Manualno"), MaxLength(20, ErrorMessage = "输入过长")]
        public string Manualno { get; set; }

        [Column("Proid")]
        [Required(ErrorMessage = "*")]
        public int Proid { get; set; }

        [Column("Rjdj")]
        public decimal? Rjdj { get; set; }

        [Column("Rjrgsj")]
        public decimal? Rjrgsj { get; set; }

        [Column("Rjtlzxlf")]
        public decimal? Rjtlzxlf { get; set; }

        [Column("Rjsz")]
        public decimal? Rjsz { get; set; }

        [Column("Rtrkysf")]
        public decimal? Rtrkysf { get; set; }

        [Column("Rtrgsj")]
        public decimal? Rtrgsj { get; set; }

        [Column("Rttlgyf")]
        public decimal? Rttlgyf { get; set; }

        [Column("Rtdbf")]
        public decimal? Rtdbf { get; set; }

        [Column("Rgrkjyf")]
        public decimal? Rgrkjyf { get; set; }

        [Column("Rgrgsj")]
        public decimal? Rgrgsj { get; set; }

        [Column("Rgdbf")]
        public decimal? Rgdbf { get; set; }

        [Column("Rjzxrkysf")]
        public decimal? Rjzxrkysf { get; set; }

        [Column("Rjzxrgsj")]
        public decimal? Rjzxrgsj { get; set; }

        [Column("Rjzxtxf")]
        public decimal? Rjzxtxf { get; set; }

        [Column("Rjzxdbf")]
        public decimal? Rjzxdbf { get; set; }

        [Column("Rjzxdbstart")]
        public decimal? Rjzxdbstart { get; set; }

        [Column("Rjzxdbend")]
        public decimal? Rjzxdbend { get; set; }

        [Column("Cckf")]
        public decimal? Cckf { get; set; }

        [Column("Cchc")]
        public decimal? Cchc { get; set; }

        [Column("Ccrkmfqstart")]
        public decimal? Ccrkmfqstart { get; set; }

        [Column("Ccrkmfqend")]
        public decimal? Ccrkmfqend { get; set; }

        [Column("Ccrkmfqday")]
        public int? Ccrkmfqday { get; set; }

        [Column("Ccykf")]
        public decimal? Ccykf { get; set; }

        [Column("Ccyhc")]
        public decimal? Ccyhc { get; set; }

        [Column("Ckqc")]
        public decimal? Ckqc { get; set; }

        [Column("Ckjjr")]
        public decimal? Ckjjr { get; set; }

        [Column("Ghf")]
        public decimal? Ghf { get; set; }

        [Column("Fjf")]
        public decimal? Fjf { get; set; }

        [Column("Sjts")]
        public decimal? Sjts { get; set; }

        [Column("Sjtp")]
        public decimal? Sjtp { get; set; }

        [Column("Sjsg")]
        public decimal? Sjsg { get; set; }

        [Column("Status"), MaxLength(20, ErrorMessage = "输入过长")]
        public string Status { get; set; }

        [Column("Modifyuser"), MaxLength(12, ErrorMessage = "输入过长")]
        public string Modifyuser { get; set; }

        [Column("Modifytime")]
        public DateTime? Modifytime { get; set; }

    }
}
